{erl_opts, [warnings_as_errors, debug_info, {parse_transform, lager_transform},
            {platform_define, "20|21|22|23", nowarn_gen_fsm}]}.
{deps, [
        {lager, {git, "https://gitee.com/vernemq/lager.git", {tag, "3.2.1"}}},
        {riak_dt, {git, "https://gitee.com/vernemq/riak_dt.git", {tag, "2.1.0"}}},
        {eleveldb, {git, "https://gitee.com/vernemq/eleveldb.git", {branch, "develop"}}},
        %% adding edown at the above 'sext' to be able to build on Erlang >= 18
        {edown, {git, "https://gitee.com/vernemq/edown.git", {tag, "0.7"}}},
        {sext, {git, "https://gitee.com/vernemq/sext.git", {tag, "1.4.0"}}},
        {gen_server2, {git, "https://gitee.com/vernemq/gen_server2.git", {branch, "master"}}}
       ]}.
{overrides, [{override, sext, [{src_dirs, ["src"]}]}]}.

{dialyzer_base_plt_apps, [kernel, stdlib, erts, sasl, eunit, syntax_tools, compiler, crypto]}.

{xref_checks, [undefined_function_calls]}.

{cover_enabled, true}.
